PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFPath Class / addRectangle Method
x position of rectangle's top left corner.
y position of rectangle's top left corner.
The rectangle width.
The rectangle height.
In This Topic
    addRectangle Method
    In This Topic
    Adds a rectangle to path.
    Syntax
    public void addRectangle( 
       double left,
       double top,
       double width,
       double height
    )

    Parameters

    left
    x position of rectangle's top left corner.
    top
    y position of rectangle's top left corner.
    width
    The rectangle width.
    height
    The rectangle height.
    See Also